import request from '@/utils/request'

// 查询备案稽核列表
export function listIdlerecord(query) {
  return request({
    url: '/ipmanagement/idlerecord/list',
    method: 'get',
    params: query
  })
}

// 查询备案稽核详细
export function getIdlerecord(id) {
  return request({
    url: '/ipmanagement/idlerecord/' + id,
    method: 'get'
  })
}

// 新增备案稽核
export function addIdlerecord(data) {
  return request({
    url: '/ipmanagement/idlerecord',
    method: 'post',
    data: data
  })
}

// 修改备案稽核
export function updateIdlerecord(data) {
  return request({
    url: '/ipmanagement/idlerecord',
    method: 'put',
    data: data
  })
}

// 删除备案稽核
export function delIdlerecord(id) {
  return request({
    url: '/ipmanagement/idlerecord/' + id,
    method: 'delete'
  })
}
